package net.huashitong.scheduling.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;

import net.huashitong.scheduling.dao.AccountingDao;
import net.huashitong.scheduling.entity.Accounting;

@Service
public class AccountingService extends StringPKService<Accounting> {
	@Autowired
	 private AccountingDao dao;
	@Override
	protected BaseDao<Accounting,String> getDao(){
		return dao;
	}
	public List<Accounting> queryAccountingByCurrentMonth(String currentMonth){
		return dao.queryAccountingByCurrentMonth(currentMonth);
	}
}
